package com.membership.stumembership.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.membership.stumembership.domian.Membership;
import com.membership.stumembership.mapper.MembershipMapper;
import com.membership.stumembership.service.MembershipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MembershipServiceImpl extends ServiceImpl<MembershipMapper, Membership>
        implements MembershipService {

    @Autowired
    private  MembershipMapper membershipMapper;


    @Override
    public IPage<Membership> selectByMemPage(Page<Membership> page, Membership mem) {
        return membershipMapper.selectByMemPage(page,mem);
    }
}
